package com.fortune.rainshineservice.service;

import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.base.ParmsModel;
import com.fortune.rainshinecommon.model.ProductModel;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IproductService {
    MsgModel createProduct(ProductModel productModel);

    MsgModel updateProduct(ProductModel productModel, String userName);

    MsgModel productList(ParmsModel parm);

    MsgModel delProduct(ProductModel productModel);

	MsgModel update(ProductModel productModel);

    MsgModel getProductInfo(Integer productId);
}
